<!DOCTYPE html>


<html lang="zh-CN">


<head>
  <meta charset="utf-8" />
  <meta name="baidu_union_verify" content="0423ec0cdca4f8eebe6e059172fc0e94">
  <meta name="baidu-site-verification" content="code-pR8Cu8CCAR" />
  <meta name="google-site-verification" content="kPx7uwBYN8ZNVw-1hPQgk5yziYYGu7ZawLlYvgTblwQ" />
  <meta name="sogou_site_verification" content="bt3Su26Lme"/>
  <meta name="360-site-verification" content="73ba99e99d3fc1e5f8a37d8c1d998703" />
   
  <meta name="keywords" content="LIEFox,liefox,liefox拾柒,LIEFox拾柒,编程笔记,JAVA,前端" />
   
  <meta name="description" content="LIEFox一个有趣又好玩的学习编程网站" />
  
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
  <title>
    将网站打包成webApp |  LIEFox
  </title>
  <meta name="generator" content="hexo-theme-ayer">
  
  <link rel="shortcut icon" href="/favicon.ico" />
  
  
<link rel="stylesheet" href="/dist/main.css">

  
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Shen-Yu/cdn/css/remixicon.min.css">

  
<link rel="stylesheet" href="/css/custom.css">

  
  
<script src="https://cdn.jsdelivr.net/npm/pace-js@1.0.2/pace.min.js"></script>

  
  

  
<script>
var _hmt = _hmt || [];
(function() {
	var hm = document.createElement("script");
	hm.src = "https://hm.baidu.com/hm.js?70837313b75a2b48b1e427bcabe5c0d9";
	var s = document.getElementsByTagName("script")[0]; 
	s.parentNode.insertBefore(hm, s);
})();
</script>



<script>
(function(){
    var bp = document.createElement('script');
    var curProtocol = window.location.protocol.split(':')[0];
    if (curProtocol === 'https') {
        bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';        
    }
    else {
        bp.src = 'http://push.zhanzhang.baidu.com/push.js';
    }
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(bp, s);
})();
</script>

<!-- 封面标闪烁 -->
<link rel="stylesheet" href="/css/zhyBlogTitle.css">

<!-- Highlight.js -->
<link href="https://cdn.bootcdn.net/ajax/libs/highlight.js/9.18.1/styles/a11y-dark.min.css" rel="stylesheet">
<script src="https://cdn.bootcdn.net/ajax/libs/highlight.js/9.18.1/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>

</head>

</html>

<body>
  <div id="app">
    
      
      <canvas width="1777" height="841"
        style="position: fixed; left: 0px; top: 0px; z-index: 99999; pointer-events: none;"></canvas>
      
    <main class="content on">
      <section class="outer">
  <article
  id="post-将网站打包成webAPP"
  class="article article-type-post"
  itemscope
  itemprop="blogPost"
  data-scroll-reveal
>
  <div class="article-inner">
    
    <header class="article-header">
       
<h1 class="article-title sea-center" style="border-left:0" itemprop="name">
  将网站打包成webApp
</h1>
 

    </header>
     
    <div class="article-meta">
      <a href="/posts/bd30505d.html" class="article-date">
  <time datetime="2021-03-10T16:00:00.000Z" itemprop="datePublished">2021-03-11</time>
</a> 
  <div class="article-category">
    <a class="article-category-link" href="/categories/%E8%AF%B4%E6%98%8E%E6%96%87%E6%A1%A3/">说明文档</a>
  </div>
  
<div class="word_count">
    <span class="post-time">
        <span class="post-meta-item-icon">
            <i class="ri-quill-pen-line"></i>
            <span class="post-meta-item-text"> 字数统计:</span>
            <span class="post-count">784</span>
        </span>
    </span>

    <span class="post-time">
        &nbsp; | &nbsp;
        <span class="post-meta-item-icon">
            <i class="ri-book-open-line"></i>
            <span class="post-meta-item-text"> 阅读时长≈</span>
            <span class="post-count">2 分钟</span>
        </span>
    </span>
</div>
 
    </div>
      
    <div class="tocbot"></div>




  
    <div class="article-entry" itemprop="articleBody">
       
  <p><img src="https://i.loli.net/2021/03/11/7XMATlcyNs5kLPO.png" alt="image-20210311140550347"></p>
<a id="more"></a>

<h1 id="将网站打包成webApp"><a href="#将网站打包成webApp" class="headerlink" title="将网站打包成webApp"></a>将网站打包成webApp</h1><h2 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h2><p>将LIEFox打包成APP这个灵感，也多亏了某数字1，他们也推出了一个APP，说具有VIP免权限的功能，就信了他的邪，发现下载后，和网页版的没啥区别，要收费还是要收费，但是比网页版的快上很多，那这么说LIEFox也可以这样。好，理论存在，实践开始！</p>
<h3 id="webAPP是？"><a href="#webAPP是？" class="headerlink" title="webAPP是？"></a>webAPP是？</h3><blockquote>
<p>Web App即是一种框架型APP开发模式（HTML5 APP 框架开发模式），该开发方式拥有跨平台的优势，该模式通常由“HTML5云网站+APP应用客户端”两部分构成，封装的APP通过访问数据进行直接运作，像网页直接打开的方式直接访问，这种方式跟网页连接访问是一样的，所以封装的APP大多数也多由网页端h5系统封装而来，也因此网页访问手机硬件参数以及对手机的权限控制的话可能会相对受限。</p>
<p>这方面的好处就是：</p>
<p>1、链接分享会灵活点毕竟是网页形式压缩的app</p>
<p>2、封装app就基本上多数是网页的形式进行封装的，所以你只要有网站，网址、应用名等就可以给你封装出一个app。</p>
<p>3、封装APP其本质是网页端内容，如果出现bug不用更新版本，只需要在后台修改即可修复bug；原生APP一旦发现bug，就需要技术开发人员去修复，然后进行更新，用户所使用的版本才能修复bug。</p>
</blockquote>
<h2 id="准备："><a href="#准备：" class="headerlink" title="准备："></a>准备：</h2><ul>
<li>自己的网站（博客）</li>
<li>一个APP logo</li>
<li>webAPP在线打包工具（<a target="_blank" rel="noopener" href="http://www.appcan.cn/%EF%BC%89">http://www.appcan.cn/）</a></li>
</ul>
<h2 id="正戏"><a href="#正戏" class="headerlink" title="正戏"></a><strong>正戏</strong></h2><p>进入APPCan官网：<a target="_blank" rel="noopener" href="http://www.appcan.cn/">http://www.appcan.cn/</a></p>
<blockquote>
<h3 id="点击注册"><a href="#点击注册" class="headerlink" title="点击注册"></a>点击注册</h3><p><img src="https://i.loli.net/2021/03/11/dicfkT81Dl5YvtR.png" alt="image-20210311142323470"></p>
<h3 id="按照要求注册"><a href="#按照要求注册" class="headerlink" title="按照要求注册"></a>按照要求注册</h3><p><img src="https://i.loli.net/2021/03/11/RIqwU9YtKhsaGO7.png" alt="image-20210311142631118"></p>
<h3 id="注册成功后登录"><a href="#注册成功后登录" class="headerlink" title="注册成功后登录"></a>注册成功后登录</h3><p><img src="https://i.loli.net/2021/03/11/que8FAJGVn24hrb.png" alt="image-20210311142842045"></p>
<h3 id="创建应用"><a href="#创建应用" class="headerlink" title="创建应用"></a>创建应用</h3><p><img src="https://i.loli.net/2021/03/11/LAnk1V2QE76FXJN.png" alt="image-20210311143549388"></p>
<h3 id="点击webapp"><a href="#点击webapp" class="headerlink" title="点击webapp"></a>点击webapp</h3><p><img src="https://i.loli.net/2021/03/11/9A1rx3fYRLivsuk.png" alt="image-20210311143805064"></p>
<h3 id="点击应用打包：图标设置、状态栏设置、启动页设置，按照指定要求设置上传"><a href="#点击应用打包：图标设置、状态栏设置、启动页设置，按照指定要求设置上传" class="headerlink" title="点击应用打包：图标设置、状态栏设置、启动页设置，按照指定要求设置上传"></a>点击应用打包：图标设置、状态栏设置、启动页设置，按照指定要求设置上传</h3></blockquote>
<blockquote>
<p><img src="https://i.loli.net/2021/03/11/ygocl5MH4TOW9i1.png" alt="image-20210311144026505"></p>
<p><img src="https://i.loli.net/2021/03/11/hdwsOPt62Yx4G1l.png" alt="image-20210311144257809"></p>
<h4 id="注意：启动页设置需要素材按照提示尺寸进行上传"><a href="#注意：启动页设置需要素材按照提示尺寸进行上传" class="headerlink" title="注意：启动页设置需要素材按照提示尺寸进行上传"></a><code>注意：启动页设置需要素材按照提示尺寸进行上传</code></h4><p><img src="https://i.loli.net/2021/03/11/2IJnBOwx9iELora.gif" alt="1"></p>
</blockquote>
<blockquote>
<h3 id="设置引擎选择→安卓"><a href="#设置引擎选择→安卓" class="headerlink" title="设置引擎选择→安卓"></a>设置引擎选择→安卓</h3><h4 id="注意：打包成iOS-APP的话会很麻烦，要涉及到iOS企业签名，所以推荐打包成安卓"><a href="#注意：打包成iOS-APP的话会很麻烦，要涉及到iOS企业签名，所以推荐打包成安卓" class="headerlink" title="注意：打包成iOS APP的话会很麻烦，要涉及到iOS企业签名，所以推荐打包成安卓"></a><code>注意：打包成iOS APP的话会很麻烦，要涉及到iOS企业签名，所以推荐打包成安卓</code></h4><p><img src="https://i.loli.net/2021/03/11/t9X8nhkcmRBCqZF.png" alt="image-20210311145507507"></p>
<h3 id="引擎选择sdksuit-4-4-210112-01（官方引擎）发布时间为-2021-01-25或最新的。"><a href="#引擎选择sdksuit-4-4-210112-01（官方引擎）发布时间为-2021-01-25或最新的。" class="headerlink" title="引擎选择sdksuit_4.4_210112_01（官方引擎）发布时间为 2021-01-25或最新的。"></a>引擎选择<code>sdksuit_4.4_210112_01（官方引擎）</code>发布时间为 <code>2021-01-25</code>或最新的。</h3><h4 id="注意：莫选择不兼容的引擎，会导致APP安装后出现各种问题。"><a href="#注意：莫选择不兼容的引擎，会导致APP安装后出现各种问题。" class="headerlink" title="注意：莫选择不兼容的引擎，会导致APP安装后出现各种问题。"></a><code>注意：莫选择不兼容的引擎，会导致APP安装后出现各种问题。</code></h4><p><img src="https://i.loli.net/2021/03/11/l5HPjCmfrNWARDh.png" alt="image-20210311145641564"></p>
<h3 id="插件暂时不需要"><a href="#插件暂时不需要" class="headerlink" title="插件暂时不需要"></a>插件暂时不需要</h3><p><img src="https://i.loli.net/2021/03/11/prSacoL56u3CYX8.png" alt="image-20210311150238962"></p>
<h3 id="证书管理→Android证书→一键创建证书"><a href="#证书管理→Android证书→一键创建证书" class="headerlink" title="证书管理→Android证书→一键创建证书"></a>证书管理→<strong>Android证书</strong>→一键创建证书</h3><p><img src="https://i.loli.net/2021/03/11/ZApV3FQwfaRME6G.png" alt="image-20210311150341952"></p>
</blockquote>
<blockquote>
<p>Keystore别名：用户名</p>
<p>Android证书存储库口令：密码</p>
<p>点击创建</p>
<p><img src="https://i.loli.net/2021/03/11/DJZ6sv5SkorPdgh.png" alt="image-20210311150635284"></p>
<h3 id="保存"><a href="#保存" class="headerlink" title="保存"></a>保存</h3><p><img src="https://i.loli.net/2021/03/11/wEyrfiWU6uF4qMO.png" alt="image-20210311150908787"></p>
<h4 id="注意：自定义包名格式最好为-quot-com-公司名-产品名-quot-，例：-quot-com-sq-liefox-quot"><a href="#注意：自定义包名格式最好为-quot-com-公司名-产品名-quot-，例：-quot-com-sq-liefox-quot" class="headerlink" title="注意：自定义包名格式最好为 &quot;com.公司名.产品名&quot;，例：&quot;com.sq.liefox&quot;."></a><code>注意：自定义包名格式最好为 &quot;com.公司名.产品名&quot;，例：&quot;com.sq.liefox&quot;.</code></h4><p><img src="https://i.loli.net/2021/03/11/5GYCEXT84LgqbpP.png" alt="image-20210311151148902"></p>
</blockquote>
<blockquote>
<h3 id="点击生成安装包"><a href="#点击生成安装包" class="headerlink" title="点击生成安装包"></a>点击生成安装包</h3><p><img src="https://i.loli.net/2021/03/11/lRyjgdzkcQi3HJ8.png" alt="image-20210311151431170"></p>
<h3 id="点击下一步"><a href="#点击下一步" class="headerlink" title="点击下一步"></a>点击下一步</h3><p><img src="https://i.loli.net/2021/03/11/QX7fFtMv3C2jHdm.png" alt="image-20210311151555536"></p>
<h3 id="耐心等待，属于你的APP即将OK！-p≧w≦q"><a href="#耐心等待，属于你的APP即将OK！-p≧w≦q" class="headerlink" title="耐心等待，属于你的APP即将OK！(p≧w≦q)"></a>耐心等待，属于你的APP即将OK！(p≧w≦q)</h3><p><img src="https://i.loli.net/2021/03/11/aNibsCDw9p21EYW.png" alt="image-20210311151738444"></p>
</blockquote>
<blockquote>
<h3 id="打包完成→更多→下载"><a href="#打包完成→更多→下载" class="headerlink" title="打包完成→更多→下载"></a>打包完成→更多→下载</h3><p><img src="https://i.loli.net/2021/03/11/txlYbHFBWySs5J6.png" alt="image-20210311152726772"></p>
<p><img src="https://i.loli.net/2021/03/11/SkpJ6KjclRMArum.png" alt="image-20210311152902223"></p>
<h3 id="手机扫码下载即可"><a href="#手机扫码下载即可" class="headerlink" title="手机扫码下载即可"></a>手机扫码下载即可</h3><p><img src="https://i.loli.net/2021/03/11/PaKuHm1owEQ2Wgp.png" alt="image-20210311152957294"></p>
</blockquote>
<h2 id="收工"><a href="#收工" class="headerlink" title="收工"></a>收工</h2><p>属于你的第一款APP就这样做出来了，多去发现，多去实践，或许下一个惊讶世人的APP就出自于你手。</p>
<h1 id="大家也可以下载一下我的APP体验一下。"><a href="#大家也可以下载一下我的APP体验一下。" class="headerlink" title="大家也可以下载一下我的APP体验一下。"></a>大家也可以下载一下我的APP体验一下。</h1><h2 id="🎉点击下方图片，便可下载app🎉"><a href="#🎉点击下方图片，便可下载app🎉" class="headerlink" title="🎉点击下方图片，便可下载app🎉"></a>🎉点击下方图片，便可下载app🎉</h2><p><a href="http://d.zqapps.com/kzmr" target="_blank"><img src="https://i.loli.net/2021/03/10/Oj7o8Kk9JVAWDvS.png" alt="image-20210310164317490"></a></p>
<p>作者：zjh</p>
 
      <!-- reward -->
      
      <div id="reword-out">
        <div id="reward-btn">
          打赏
        </div>
      </div>
      
    </div>
    

    <!-- copyright -->
    
    <div class="declare">
      <ul class="post-copyright">
        <li>
          <i class="ri-copyright-line"></i>
          <strong>版权声明： </strong>
          
          本网站所有文章除特别声明外，著作权归作者所有。转载请注明出处！
          
        </li>
      </ul>
    </div>
    
    <footer class="article-footer">
       
<div class="share-btn">
      <span class="share-sns share-outer">
        <i class="ri-share-forward-line"></i>
        分享
      </span>
      <div class="share-wrap">
        <i class="arrow"></i>
        <div class="share-icons">
          
          <a class="weibo share-sns" href="javascript:;" data-type="weibo">
            <i class="ri-weibo-fill"></i>
          </a>
          <a class="weixin share-sns wxFab" href="javascript:;" data-type="weixin">
            <i class="ri-wechat-fill"></i>
          </a>
          <a class="qq share-sns" href="javascript:;" data-type="qq">
            <i class="ri-qq-fill"></i>
          </a>
          <a class="douban share-sns" href="javascript:;" data-type="douban">
            <i class="ri-douban-line"></i>
          </a>
          <!-- <a class="qzone share-sns" href="javascript:;" data-type="qzone">
            <i class="icon icon-qzone"></i>
          </a> -->
          
          <a class="facebook share-sns" href="javascript:;" data-type="facebook">
            <i class="ri-facebook-circle-fill"></i>
          </a>
          <a class="twitter share-sns" href="javascript:;" data-type="twitter">
            <i class="ri-twitter-fill"></i>
          </a>
          <a class="google share-sns" href="javascript:;" data-type="google">
            <i class="ri-google-fill"></i>
          </a>
        </div>
      </div>
</div>

<div class="wx-share-modal">
    <a class="modal-close" href="javascript:;"><i class="ri-close-circle-line"></i></a>
    <p>扫一扫，分享到微信</p>
    <div class="wx-qrcode">
      <img src="//api.qrserver.com/v1/create-qr-code/?size=150x150&data=https://cxq21.gitee.io/posts/bd30505d.html" alt="微信分享二维码">
    </div>
</div>

<div id="share-mask"></div>  
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/webAPP/" rel="tag">webAPP</a></li></ul>

    </footer>
  </div>

   
  <nav class="article-nav">
    
      <a href="/posts/f1404f68.html" class="article-nav-link">
        <strong class="article-nav-caption">上一篇</strong>
        <div class="article-nav-title">
          
            Java web 开发
          
        </div>
      </a>
    
    
      <a href="/posts/4509351.html" class="article-nav-link">
        <strong class="article-nav-caption">下一篇</strong>
        <div class="article-nav-title">Java集合</div>
      </a>
    
  </nav>

  
      
<!-- minivaline评论 -->
<div id="mvcomments-box">
  <div id="mvcomments"></div>
</div>
<script src="https://cdn.jsdelivr.net/npm/minivaline@3/dist/MiniValine.min.js"></script>
<script>
    new MiniValine({
        el: '#mvcomments',
        appId: 'lGCocPMCSUz2tL4FcKDvFCG3-gzGzoHsz',
        appKey: 'VheJztjyMzs24xKQPGGI1bmh',
        mode: 'xCss',
        placeholder: '评论的时候建议填上您的邮箱，可以第一时间收到我的回复喔',
        pathname: window.location.pathname,
        lang: '',
        adminEmailMd5: '69b690b67d0fb9dba8ab2de5db6dd353',
        tagMeta: ["LIEFox站长", "小伙伴", "来将可留姓名"],
        master: ["69b690b67d0fb9dba8ab2de5db6dd353"],
        friends: ["1f7c8b18fb7bbe18fbaf97309de2c0ac", "e5aec373ad8a0dce7abdbe4e6585a8ba"],
        math: true,
        md: true,
        enableQQ: true,
        NoRecordIP: true,
        visitor: false,
        maxNest: 6,
        pageSize: 6,
        serverURLs: '',
        emoticonUrl: ["https://cdn.jsdelivr.net/npm/alus@latest", "https://cdn.jsdelivr.net/gh/MiniValine/qq@latest", "https://cdn.jsdelivr.net/gh/MiniValine/Bilibilis@latest", "https://cdn.jsdelivr.net/gh/MiniValine/tieba@latest", "https://cdn.jsdelivr.net/gh/MiniValine/twemoji@latest", "https://cdn.jsdelivr.net/gh/MiniValine/weibo@latest"],
    });
  const infoEle = document.querySelector('#mvcomments .info');
  if (infoEle && infoEle.childNodes && infoEle.childNodes.length > 0) {
      infoEle.childNodes.forEach(function (item) {
          item.parentNode.removeChild(item);
      });
  }
</script>
<style>
	#mvcomments-box {
	padding: 5px 30px;
	}

	@media screen and (max-width: 800px) {
	#mvcomments-box {
	  padding: 5px 0px;
	}
	}

	.v .vlist .vcard .vh {
	padding-right: 20px;
	}

	.v .vlist .vcard {
	padding-left: 10px;
	}
	
	.darkmode .commentTrigger{
		background-color: #403e3e !important;
	  }
	.darkmode .MiniValine .vpage .more{
		background: #21232F
	}
	.darkmode img{
		  filter: brightness(30%)
	}
	.darkmode .MiniValine .vlist .vcard .vcomment-body .text-wrapper .vcomment.expand:before{
		background: linear-gradient(180deg, rgba(246,246,246,0), rgba(0,0,0,0.9))
	}
	.darkmode .MiniValine .vlist .vcard .vcomment-body .text-wrapper .vcomment.expand:after{
		background: rgba(0,0,0,0.9)
	}
	.darkmode .MiniValine .vlist .vcard .vcomment-body .text-wrapper .vcomment pre{
		background: #282c34
		border: 1px solid #282c34
	}
	.darkmode .MiniValine .vinputs-area .textarea-wrapper textarea{
		color: #000;
	}
	.darkmode .MiniValine .vinputs-area .auth-section .input-wrapper input{
		color: #000;
	}
	.darkmode .MiniValine .info .col .count{
		color: #000;
	}
	.darkmode .MiniValine .vinputs-area .vextra-area .vsmile-icons{
		background: transparent;
	}
</style>

 
</article>

</section>
      <footer class="footer">
  <div class="outer">
<!-- 运行天数 -->
    <ul>
        <li><span id="runtime_span"></span></li>
    </ul>

<script type="text/javascript">            
    function show_runtime() {
        window.setTimeout("show_runtime()", 1000);
        X = new Date("11/27/2020 17:17:17");
        Y = new Date();
        T = (Y.getTime() - X.getTime());
        M = 24 * 60 * 60 * 1000;
        a = T / M;
        A = Math.floor(a);
        b = (a - A) * 24;
        B = Math.floor(b);
        c = (b - B) * 60;
        C = Math.floor((b - B) * 60);
        D = Math.floor((c - C) * 60);
        runtime_span.innerHTML = "LIEFox逃脱猎人的第" + A + "天" + B + "小时" + C + "分" + D + "秒"
    }
    show_runtime();
</script>

    <ul>
      <li>
        Copyrights &copy;
        2020-2023
        <i class="ri-heart-fill heart_icon"></i> 拾柒工作室
      </li>
    </ul>


    <ul>
      <li>
        
      </li>
    </ul>
    <ul>
      <li>
        
        
        <span>
  <span><i class="ri-user-3-fill"></i>访问人数:<span id="busuanzi_value_site_uv"></span></s>
  <span class="division">|</span>
  <span><i class="ri-eye-fill"></i>浏览次数:<span id="busuanzi_value_page_pv"></span></span>
</span>
        
      </li>
    </ul>
    <ul>
      
    </ul>
    <ul>
      
    </ul>
    <ul>
      <li>
        <!-- cnzz统计 -->
        
        <script type="text/javascript" src='https://s9.cnzz.com/z_stat.php?id=1279472270&amp;web_id=1279472270'></script>
        
      </li>
    </ul>
  </div>
</footer>
      <div class="float_btns">
        <div class="totop" id="totop">
  <i class="ri-arrow-up-line"></i>
</div>

<div class="todark" id="todark">
  <i class="ri-moon-line"></i>
</div>

      </div>
    </main>
    <aside class="sidebar on">
      <button class="navbar-toggle"></button>
<nav class="navbar">
  
  <div class="logo">
    <a href="/"><img src="/images/LIEFox.png" alt="LIEFox"></a>
  </div>
  
  <ul class="nav nav-main">
    
    <li class="nav-item">
      <a class="nav-item-link" href="/">主页</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/archives">时间线</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/categories">分类</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/tags">标签</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/friends">友链</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/dplayer">视频</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/update">更新日志</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/about">关于LIEFox</a>
    </li>
    
  </ul>
</nav>
<nav class="navbar navbar-bottom">
  <ul class="nav">
    <li class="nav-item">
      
      <a class="nav-item-link nav-item-search"  title="搜索">
        <i class="ri-search-line"></i>
      </a>
      
      
    </li>
  </ul>
</nav>
<div class="search-form-wrap">
  <div class="local-search local-search-plugin">
  <input type="search" id="local-search-input" class="local-search-input" placeholder="Search...">
  <div id="local-search-result" class="local-search-result"></div>
</div>
</div>
    </aside>
    <script>
      if (window.matchMedia("(max-width: 768px)").matches) {
        document.querySelector('.content').classList.remove('on');
        document.querySelector('.sidebar').classList.remove('on');
      }
    </script>
    <div id="mask"></div>

<!-- #reward -->
<div id="reward">
  <span class="close"><i class="ri-close-line"></i></span>
  <p class="reward-p"><i class="ri-cup-line"></i>感谢金主~</p>
  <div class="reward-box">
    
    
    <div class="reward-item">
      <img class="reward-img" src="/images/wechat.jpg">
      <span class="reward-type">微信</span>
    </div>
    
  </div>
</div>
    
<script src="/js/jquery-2.0.3.min.js"></script>


<script src="/js/lazyload.min.js"></script>

<!-- Tocbot -->


<script src="/js/tocbot.min.js"></script>

<script>
  tocbot.init({
    tocSelector: '.tocbot',
    contentSelector: '.article-entry',
    headingSelector: 'h1, h2, h3, h4, h5, h6',
    hasInnerContainers: true,
    scrollSmooth: true,
    scrollContainer: 'main',
    positionFixedSelector: '.tocbot',
    positionFixedClass: 'is-position-fixed',
    fixedSidebarOffset: 'auto'
  });
</script>

<script src="https://cdn.jsdelivr.net/npm/jquery-modal@0.9.2/jquery.modal.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/jquery-modal@0.9.2/jquery.modal.min.css">
<script src="https://cdn.jsdelivr.net/npm/justifiedGallery@3.7.0/dist/js/jquery.justifiedGallery.min.js"></script>

<script src="/dist/main.js"></script>

<!-- ImageViewer -->

<!-- MathJax -->

<!-- Katex -->

<!-- busuanzi  -->


<script src="/js/busuanzi-2.3.pure.min.js"></script>


<!-- ClickLove -->

<!-- ClickBoom1 -->

<!-- ClickBoom2 -->


<script src="/js/clickBoom2.js"></script>


<!-- CodeCopy -->


<link rel="stylesheet" href="/css/clipboard.css">

<script src="https://cdn.jsdelivr.net/npm/clipboard@2/dist/clipboard.min.js"></script>
<script>
  function wait(callback, seconds) {
    var timelag = null;
    timelag = window.setTimeout(callback, seconds);
  }
  !function (e, t, a) {
    var initCopyCode = function(){
      var copyHtml = '';
      copyHtml += '<button class="btn-copy" data-clipboard-snippet="">';
      copyHtml += '<i class="ri-file-copy-2-line"></i><span>COPY</span>';
      copyHtml += '</button>';
      $(".highlight .code pre").before(copyHtml);
      $(".article pre code").before(copyHtml);
      var clipboard = new ClipboardJS('.btn-copy', {
        target: function(trigger) {
          return trigger.nextElementSibling;
        }
      });
      clipboard.on('success', function(e) {
        let $btn = $(e.trigger);
        $btn.addClass('copied');
        let $icon = $($btn.find('i'));
        $icon.removeClass('ri-file-copy-2-line');
        $icon.addClass('ri-checkbox-circle-line');
        let $span = $($btn.find('span'));
        $span[0].innerText = 'COPIED';
        
        wait(function () { // 等待两秒钟后恢复
          $icon.removeClass('ri-checkbox-circle-line');
          $icon.addClass('ri-file-copy-2-line');
          $span[0].innerText = 'COPY';
        }, 2000);
      });
      clipboard.on('error', function(e) {
        e.clearSelection();
        let $btn = $(e.trigger);
        $btn.addClass('copy-failed');
        let $icon = $($btn.find('i'));
        $icon.removeClass('ri-file-copy-2-line');
        $icon.addClass('ri-time-line');
        let $span = $($btn.find('span'));
        $span[0].innerText = 'COPY FAILED';
        
        wait(function () { // 等待两秒钟后恢复
          $icon.removeClass('ri-time-line');
          $icon.addClass('ri-file-copy-2-line');
          $span[0].innerText = 'COPY';
        }, 2000);
      });
    }
    initCopyCode();
  }(window, document);
</script>


<!-- CanvasBackground -->


<script src="/js/dz.js"></script>



    
  </div>
</body>

</html>